Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: values changed by agent are not saved
~Umberto Nongeroson 8.Jan.04 06:08 PM a Web browser
Applications Development 6.0.3 All Platforms


Don't save the document twice -- that's wasteful. Furthermore, the agent works with the document in the back end, and the document that's open in edit mode is not going to automatically update its display just because the back-end document changed, any more than it would if another user edited and saved the document while you were working on it.

Furthermore, there's apparently nothing to prevent a user from saving without using your action button, bypassing this code.

Do your thing in the Querysave event, but don't use an agent. Just put the code on the form (or in a script library and call it from the form).

For that matter, if all you want to do is detect a blank field and fill a value in, why not just use an input translation formula?

@If(@IsDocBeingSaved & @ThisValue = ""; "default value"; @ThisValue)




values changed by agent are not sav... (~Gus Zenboosize... 8.Jan.04)
. . RE: values changed by agent are not... (~Bill Frokimari... 8.Jan.04)
. . RE: values changed by agent are not... (~Samuel Nimfook... 8.Jan.04)
. . RE: values changed by agent are not... (~Gus Zenboosize... 8.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS